Does anybody meet undefined reference to `WebCo:CSSParser::lex()' while compiling android source?

by 鍝侀洩 » Mon, 22 Dec 2008 10:12:36 GMT


Sponsored Links
 Mac OS X Leopard 10.5.5, flex 2.5.35 and bison 2.4 from macports,
xcode 3.1.2

It always stop as:

target SharedLib: libwebcore (out/target/product/generic/obj/
SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so)
out/target/product/generic/obj/SHARED_LIBRARIES/
libwebcore_intermediates/css/CSSParser.o: In function
`WebCore::CSSParser::lex(void*)':
external/webkit/WebCore/css/CSSParser.cpp:3558: undefined reference to
`WebCore::CSSParser::lex()'
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
libwebcore_intermediates/LINKED/libwebcore.so] Error 1

I can compile the source in Ubuntu Linux and seems the source code are
exactly same. And I did compiled once in another Leopard machine which
is not available for me now. So that I guess it is environment issue
instead of a bug.


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Eclair reject incoming call (gprs connected)

Hi all,

If I have a gprs open connection, the eclair subsystem reject my 
incoming call,

is there any good reason?

D/AT      (  876): MUX[primary]: AT< %CPI: 1,7,1,0,1,0,"+39xxxxxx45,,17,0
D/RILJ    (  958): [0082]< DEACTIVATE_DATA_CALL
D/AT      (  876): MUX[primary]: AT< OK
D/RIL     (  876): onRequest: GET_CURRENT_CALLS
D/AT      (  876): MUX[primary]: AT> AT+CLCC
D/RILJ    (  958): [0083]< GET_CURRENT_CALLS  
D/AT      (  876): MUX[primary]: AT< OK
D/RILJ    (  958): [0084]< GET_CURRENT_CALLS  
D/GSM     (  958): [PdpConnection] DataConnection.handleMessage()
D/GSM     (  958): [PdpConnection] Notify PDP disconnect
D/GSM     (  958): [PdpConnection] DataConnection.clearSettings()
D/GSM     (  958): [PdpConnection] PDP Connection Deactivated
D/GSM     (  958): [GsmCallTracker] missed/rejected call, 
conn.cause=NOT_DISCONNECTED
D/GSM     (  958): [GsmCallTracker] setting cause to INCOMING_MISSED
D/GSM     (  958): [GSMConn] onDisconnect: cause=INCOMING_MISSED
D/GSM     (  958): [GSMConn] releaseWakeLock

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Forward search queries to one single activity that handles search

have an activity handling search (ACTIVITY_1), which works perfectly
when I use the search (via SEARCH button on the phone) within/from
this activity.

However, when I use search from another activity (ACTIVITY_2..x) by
implementing onNewIntent and forward the query string to my
Search_Activity.class (ACTIVITY_1) it always pauses ACTIVITY_2 first
and then goes to onCreate() of ACTIVITY_2.

@Override
protected void onNewIntent(Intent intent) {
    Log.i(TAG, "onNewIntent()");

    if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
        Log.i(TAG, "===== Intent: ACTION_SEARCH =====");
        Intent myIntent = new Intent(getBaseContext(),
Search_Activity.class);
        myIntent.setAction(Intent.ACTION_SEARCH);
        myIntent.putExtra(SearchManager.QUERY, intent.getStringExtra
(SearchManager.QUERY));
        startActivity(myIntent);
    }

}


    * Why does it recreate my ACTIVITY_2 when it is already there and
doesn't go to onNewIntent directly?
    * Is there another way I can forward search queries directly to
ACTIVITY_1? For example via a setting in the Manifest.xml
    * Is it possible to generally forward all search queries
automatically to ACTIVITY_1 without even implementing onNewIntent in
all the other activities?

Currently I have to put an <intent-filter> in every single activity to
"activate" my custom search there and forward the query then to the
activity that handles search via the onNewIntent (as shown above).

<activity android:name=".Another_Activity"
    android:theme="@style/MyTheme">
    <intent-filter>
        <action android:name="android.intent.action.SEARCH" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
    <meta-data android:name="android.app.searchable"
        android:resource="@xml/searchable" />
</activity>

-- 

3. create apk with aapt tool

4. Ada yg punya?

5. Streaming Video using VideoView" "Sorry Cant play this video"

6. Streaming Video using VideoView" "Sorry Cant play this video"

7. <WTA> cm updater